xml.instruct!
xml.artist do
  xml.name @artist.name
  if !@artist.is_group?
    xml.full_name @artist.proper_name
  end
  xml.aliases do
    @artist.name_aliases.each do |name|
      xml.alias name.name
    end
  end
  xml.dates do
    @artist.artist_dates.each do |date|
	  xml.tag!(date.event, date.date_string_with_month)
	end
  end
  if !@artist.is_group?
    xml.gender @artist.gender
  end
  xml.hometown @artist.location
  xml.genres do
    @artist.genres.each do |genre|
	  xml.genre genre.name
	end
  end
  xml.bio @artist.bio
  xml.releases do
    @artist.releases.each do |release|
	  xml.release do
	    xml.title release.title
	  end
	end
  end
  if @artist.is_group?
    xml.members do
	  @artist.members.each do |member|
	    xml.name member.member.name
	  end
	end
  else
    xml.bands do
	  @artist.bands.each do |band|
	    xml.name band.name
	  end
	end
  end
end